package include2;
// 师父
public class Master {
	private String name;

	public Master() {
		super();
	}

	public Master(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	// 师父要对传参来的徒弟念紧箍咒
	public void readHoopspell(Apprentice app) {
		System.out.println("因为" + app.getName() + "杀生，所以" + this.name + "开始念紧箍咒...");
	}
}
